From 4fcf3fe10e8addfc7f39b7037a1d468abdf29a68 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 15 Nov 2016 23:51:44 +0100 Subject: [PATCH] babl-cache: attempt to make things barely compile on win32 --- babl/babl-cache.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/babl/babl-cache.c b/babl/babl-cache.c index 35ae260..7f06997 100644 --- a/babl/babl-cache.c +++ b/babl/babl-cache.c @@ -24,6 +24,10 @@ static const char *fish_cache_path (void) { +#ifdef _WIN32 // XXX: fixme - make this work - and be a reasonable location + // on windows + return "C:\\babl.txt"; +#else // FIXME: need a location for this temporary file on win32 struct stat stat_buf; static char resolved[4096]; @@ -51,6 +55,7 @@ static const char *fish_cache_path (void) free (ret); return resolved; +#endif } static char * -- 2.30.2